package com.tqw.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tqw.entity.BasePojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: czm
 * @Date: 2022/04/17/20:53
 * @Description:收货地址实体类
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("receiving")
public class Receiving extends BasePojo {
    /**
     * 收货地址id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    private Integer clientId;
    /**
     * 街道id
     */
    private Integer streetId;
    /**
     * 详细地址
     */
    private String addressDetail;
    /**
     * 是否为默认地址 1是0否
     */
    private Integer isDefault;
    /**
     * 收货联系方式
     */
    private String phone;
    /**
     * 收货人姓名
     */
    private String consignee;
}
